package cn.tools.jwt.client.service;

import java.security.NoSuchAlgorithmException;
import java.util.Map;

public interface JwtCreateTokenService {

    /**
     * @author: keno
     * @date:   2021/12/24
     * @description: 创建jwt
     */
    String createJwt(Map<String,Object> userInfo) throws Exception;


    /***
     * @Author keno
     * @date 2021/12/24 14:43
     *
     *  @param
     *
     * @return 生成秘钥
     */
    public void createKeyFile() throws NoSuchAlgorithmException;
}
